package com.wsoft.im.query.group.member;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author z001
 * @Date 2025/1/16 08:05
 */
@Data
public class ToggleLeaderQuery {

    @Schema(description = "id")
    @NotNull(message = "群组id不能为空")
    private Long id;

    @Schema(description = "新群主id")
    @NotNull(message = "切换群主人员不能为空")
    private Long memberId;
}
